//
//  SideTableViewCell.m
//  chanyou
//
//  Created by leon on 15/1/12.
//  Copyright (c) 2015年 wanli. All rights reserved.
//

#import "SideTableViewCell.h"

@implementation SideTableViewCell
- (void)dealloc
{
    [_imgView release];
    [_dayLabel release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.imgView = [[UIImageView alloc] initWithFrame:CGRectMake(8, 8, 15, 15)];
        _imgView.image = [UIImage imageNamed:@"iconfont-gliconshijian"];
        [self.contentView addSubview:_imgView];
        [_imgView release];
        
        self.dayLabel = [[UILabel alloc] initWithFrame:CGRectMake(30, 0, self.contentView.frame.size.width - 40, 30)];
        [self.contentView addSubview:_dayLabel];
        [_dayLabel release];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
